messages

MouseEnter  ( grid, MouseEnter, x, y, state, time, 0, focusGrid )

A MouseEnter message is added to the message queue when the system detects mouse movement has made the mouse cursor enter a grid-box. If the mouse movement also made the cursor exit another grid, a MouseExit message is added to the message queue before the MouseEnter message.

grid contains the grid number of the grid-box the mouse cursor entered.

x,y contain the local coordinates of the mouse cursor in focusGrid when the mouse event was detected.

state contains the up/down state of all mouse buttons when the mouse enter event was detected.

time contains the millisecond system time at which the mouse enter event was detected.

MouseExit  ( grid, MouseExit, x, y, state, time, 0, focusGrid )

A MouseExit message is added to the message queue when the system detects mouse movement has made the mouse cursor exit a grid-box. If the mouse movement also made the cursor enter another grid, the MouseExit message is added to the message queue before the MouseEnter message.

grid contains the grid number of the grid-box the mouse cursor exited.

x,y contain the local coordinates of the mouse cursor in focusGrid when the mouse event was detected.

state contains the up/down state of all mouse buttons when the mouse exit event was detected.

time contains the millisecond system time at which the mouse exit event was detected.